﻿namespace Xc.DataAccess.Protocoals.WaterMeters.Models
{
    /// <summary>
    /// 包命令
    /// </summary>
    public enum FrameCommand
    {
        Unknow=0x00,
        /// <summary>
        /// 0x01
        /// </summary>
        CMD01 = 0x01,
        /// <summary>
        /// 0x16
        /// </summary>
        CMD16 = 0x16,
        /// <summary>
        /// 0x04
        /// </summary>
        CMD04 = 0x04,
        /// <summary>
        /// 0x03
        /// </summary>
        CMD03 = 0x03,
        /// <summary>
        /// 0x2A
        /// </summary>
        CMD2A = 0x2A,
        /// <summary>
        /// 0x02
        /// </summary>
        CMD02 = 0x02,
        /// <summary>
        /// 0x05
        /// </summary>
        CMD05 = 0x05,
        /// <summary>
        /// 0x06
        /// </summary>
        CMD06 = 0x06,
        /// <summary>
        /// 0x81
        /// </summary>
        CMD01RepOK = CMD01 | 0x80,
        /// <summary>
        /// 0x96
        /// </summary>
        CMD16RepOK = CMD16 | 0x80,
        /// <summary>
        /// 0x84
        /// </summary>
        CMD04RepOK = CMD04 | 0x80,
        /// <summary>
        /// 0x83
        /// </summary>
        CMD03RepOK = CMD03 | 0x80,
        /// <summary>
        /// 0xAA
        /// </summary>
        CMD2ARepOK = CMD2A | 0x80,
        /// <summary>
        /// 0x82
        /// </summary>
        CMD02RepOK = CMD02 | 0x80,
        /// <summary>
        /// 0x85
        /// </summary>
        CMD05RepOK = CMD05 | 0x80,
        /// <summary>
        /// 0x86
        /// </summary>
        CMD06RepOK = CMD06 | 0x80,
        /// <summary>
        /// 0xC1
        /// </summary>
        CMD01RepNG = CMD01 | 0xC0,
        /// <summary>
        /// 0xD6
        /// </summary>
        CMD16RepNG = CMD16 | 0xC0,
        /// <summary>
        /// 0xC4
        /// </summary>
        CMD04RepNG = CMD04 | 0xC0,
        /// <summary>
        /// 0xC3
        /// </summary>
        CMD03RepNG = CMD03 | 0xC0,
        /// <summary>
        /// 0xEA
        /// </summary>
        CMD2ARepNG = CMD2A | 0xC0,
        /// <summary>
        /// 0xC2
        /// </summary>
        CMD02RepNG = CMD02 | 0xC0,
        /// <summary>
        /// 0xC5
        /// </summary>
        CMD05RepNG = CMD05 | 0xC0,
        /// <summary>
        /// 0xC6
        /// </summary>
        CMD06RepNG = CMD06 | 0xC0,
    }
}
